package com.swe727.spring2011.constraint1.message;

import java.util.Date;

public abstract class TimestampMessage<T> implements Message<T> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3361351142023883860L;

	private Date timestamp;
	
	public TimestampMessage(Date timestamp) {
		this.timestamp = timestamp;
	}

	public Date getTimestamp() {
		return timestamp;
	}
	
	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}
}
